home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
26.HiLo
/
HiLo.h
< prev
next >
Wrap
Text File
|
1995-06-12
|
310b
|
23 lines
#import <objc/Object.h>
#include <libc.h>
#define MAXRND 2147483649
extern long random();
extern float getrand();
int seed;
@interface HiLo:Object
{
id hint;
id numberGuesses;
int number;
int numberOfGuesses;
int answer;
}
- setHint:anObject;
- newGame:sender;
- guess:sender;
@end